package com.yimi.appstore.download;

public class DownloadEntry {
	private int _id;
	private String resourceId;
	private String url;
	private String mediaUri;
	private int mimeType;
	private String fileName;
	private String localPath;
	private long lastMod;
	private int totalBytes;
	private int currentBytes;
	private String iconName;

	public DownloadEntry(int _id, String resourceId, String url,String mediaUri, int mimeType,
			String fileName, String localPath, long lastMod, int totalBytes,
			int currentBytes, String iconName) {
		super();
		this._id = _id;
		this.resourceId = resourceId;
		this.url = url;
		this.mediaUri=mediaUri;
		this.mimeType = mimeType;
		this.fileName = fileName;
		this.localPath = localPath;
		this.lastMod = lastMod;
		this.totalBytes = totalBytes;
		this.currentBytes = currentBytes;
		this.iconName = iconName;
	}

	public int getId() {
		return _id;
	}

	public void setId(int m_id) {
		this._id = m_id;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String mUrl) {
		this.url = mUrl;
	}
	
	public String getMediaUri() {
		return mediaUri;
	}

	public void setMediaUri(String mediaUri) {
		this.mediaUri = mediaUri;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String mFileName) {
		this.fileName = mFileName;
	}

	public long getLastMod() {
		return lastMod;
	}

	public void setLastMod(long mLastMod) {
		this.lastMod = mLastMod;
	}

	public int getTotalBytes() {
		return totalBytes;
	}

	public void setTotalBytes(int mTotalBytes) {
		this.totalBytes = mTotalBytes;
	}

	public int getCurrentBytes() {
		return currentBytes;
	}

	public void setCurrentBytes(int mCurrentBytes) {
		this.currentBytes = mCurrentBytes;
	}

	public String getIconName() {
		return iconName;
	}

	public void setIconName(String mIconName) {
		this.iconName = mIconName;
	}

	public String getPath() {
		return localPath;
	}

	public void setPath(String path) {
		this.localPath = path;
	}

	public String getResourceId() {
		return resourceId;
	}

	public void setResourceId(String mResourceId) {
		this.resourceId = mResourceId;
	}

	public int getMimeType() {
		return mimeType;
	}

	public void setMimeType(int mMimeType) {
		this.mimeType = mMimeType;
	}

}
